package com.yyys.web.repository;

import com.yyys.web.entity.DRInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zhengsenwen on 2017/7/31.
 */

@Repository
public interface DRInfoRepository extends JpaRepository<DRInfo, Serializable> {


    //SELECT * FROM [Flow_DRInfo]

    @Override
    List<DRInfo> findAll();

    public DRInfo findById(Integer id);

}
